const localRoutes = [
  {
    name: "project-overview",
    children: [
      {
        path: "/productOverview",
        name: "productOverview",
        component: import("@/views/main/project-overview/product-overview.vue"),
        children: []
      },
      {
        path: "/visualOverview",
        name: "visualOverview",
        component: import("@/views/main/project-overview/visual-overview.vue"),
        children: []
      }
    ]
  },
  {
    name: "product-management",
    path: "/main",
    redirect: "/productOverview",
    children: [
      {
        name: "product-information",
        children: [
          {
            path: "/equipmentControl",
            name: "equipmentControl",
            component: import(
              "@/views/main/product-management/product-information/equipment-control.vue"
            )
          },
          {
            path: "/robotPermission",
            name: "robotPermission",
            component: import(
              "@/views/main/product-management/product-information/robot-permission.vue"
            )
          }
        ]
      },
      {
        name: "data-overview",
        children: [
          {
            path: "/robotMalfunction",
            name: "robotMalfunction",
            component: import("@/views/main/product-management/data-overview/robot-malfunction.vue")
          },
          {
            path: "/robotDataAnalyse",
            name: "robotDataAnalyse",
            component: import("@/views/main/product-management/data-overview/robot-dataAnalyse.vue")
          }
        ]
      }
    ]
  },
  {
    name: "map-management",
    children: [
      {
        path: "/mapDrive",
        name: "mapDrive",
        component: import("@/views/main/map-management/map-drive.vue")
      }
    ]
  }
]

export default localRoutes
